package ui.activity.order.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.order.biz.OrderBiz;
import ui.activity.order.contract.OrderContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class OrderModule {
    private OrderContract.View view;

    public OrderModule(OrderContract.View view) {
        this.view = view;
    }

    @Provides
    public OrderContract.View provideView() {
        return view;
    }

    @Provides
    public OrderBiz provideBiz() {
        return new OrderBiz();
    }
}